<template>
  <h1>Movie:{{ num }}</h1>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
  name: 'Movie',
});
</script>
<script lang="ts" setup>
import { inject } from 'vue';
const num = inject('num');
console.log(num, 'movie');
const hello = inject('hello');
console.log(hello, 'movie');
</script>

<style lang="less" scoped></style>
